Add some notes on how filter model testing can be made (even) more thorough
authorKristian Rietveld <kris@gtk.org>
Sat, 20 Aug 2011 08:59:36 +0000 (10:59 +0200)
committerKristian Rietveld <kris@gtk.org>
Mon, 22 Aug 2011 19:30:34 +0000 (21:30 +0200)
gtk/tests/filtermodel.c

index 41ed8583f7e01ea29b83ff10a51b280c24ae0e44..98bce83e93ad6181e3275d02565af598c3aaa350 100644 (file)
  *   - Proper coverage checking to see if the unit tests cover
  *     all possible cases.
  *   - Check if the iterator stamp is incremented at the correct times.
+ *
+ * For more thorough testing:
+ *   - Test with randomized models.
+ *   - Extensively test a filter model wrapping a sort model,
+ *     or a sort model wrapping a filter model by:
+ *       # Checking structure.
+ *       # Checking for correct signals emissions.
+ *       # Checking correct reference counting.
+ *       # Tests should be done with the sort and filter model
+ *         in various filtering and sorting states.
  */